package com.xxgc.spring.service.impl;

import com.xxgc.spring.service.IUserLoginService;

public class UserLoginService implements IUserLoginService{
    public int userLogin(String uName, String uPass) {
        if("zs".equals(uName) && "123456".equals(uPass)){
            System.out.println("登录成功");
        }else{
            System.out.println("对不起，你的用户名或密码错误");
        }
        return 0;
    }
}
